import { gql } from "@apollo/client";

export const getTimetableRecords_service = gql`
  query gettimetableRecords($page: PageInput!) {
    gettimetableRecords(page: $page) {
      message
      code
      page {
        total
        pageNum
        pageSize
      }
      data {
        id
        subscribeTime
        studentId
        cardRecordId
        timetableId
        courseId
        orgId
      }
    }
  }
`;

export const cancelReserve_service = gql`
  mutation deleteTimetableRecord($id: String!) {
    deleteTimetableRecord(id: $id) {
      code
      message
    }
  }
`;
